// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App.vue';
import './assets/css/iconfont.css';
import './assets/css/iconfont2.css';
import './assets/css/reset.css';
import MessageBox from './components/messagebox';
import Toast from './components/toast';

Vue.use(Toast);
Vue.use(MessageBox);
declare module 'vue/types/vue' {
  interface Vue<Data, Methods, Computed, Props> {
    $toast: any;
    $messageBox: any;
  }
}

Vue.config.productionTip = false;

/* eslint-disable no-new */
const app = new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
});
